package HelloWorld;

/**
 * Created by IntelliJ IDEA.
 * User: Irina
 * Date: 06.10.12
 * Time: 0:46
 * To change this template use File | Settings | File Templates.
 */
public class HelloWorld implements HelloWorldInterface{

    private String hello;

    public HelloWorld(){

    }

    public HelloWorld (String hello){
        this.hello = hello;
    }
    @Override
    public void sayHelloWorld() {
        System.out.print(hello);
    }

    public void setHello(String hello){
        this.hello = hello;
    }
}
